<template>
  <div class="header">
    <div class="headerAddress">
      <span class="iconLocation glyphicon glyphicon-map-marker"></span>
      北京
      <span class="glyphicon glyphicon-triangle-bottom textLocation"></span>
    </div>
    <div class="headerSearch">
      <span class="glyphicon glyphicon-search"></span>
      <!-- <van-search shape='round' placeholder="请输入搜索关键词" /> -->
      请输入搜索关键词
    </div>
  </div>
</template>


<script>
export default {
  name: "homeHeader",

  data() {
    return {};
  },
  methods: {}
};
</script>


<style lang='less' scoped>
.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 3.5rem;
  line-height: 3.5rem;
  color: rgb(70, 68, 68);
  font-size: 1.2rem;
  display: flex;
  // box-sizing: border-box;
  border-bottom: solid 1px #ccc;
  margin-bottom: 0.1rem;
  background-color: #fff;

  .headerAddress {
    flex: 5;

    .iconLocation {
      padding: 0 0.5rem 0 1rem;
    }

    .textLocation {
      padding-left: 0.2rem;
      padding-top: 0.1rem;
    }
  }

  .headerSearch {
    flex: 7;
    color: #999999;
    height: 2.2rem;
    margin: 0.7rem;
    border-radius: 0.5rem;
    background-color: #ebe6e6;
    line-height: 2.1rem;
    padding-left: 1em;
  }
}
</style>